home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus Leser 15 / Amiga Plus Leser CD 15.iso / Tools / Freeware / PerfectPaint / rexx / Alchemy / Script / Fresco.rx < prev    next >
Encoding:
Text File  |  2002-03-13  |  857 b   |  57 lines

  1. /* Alchemy script
  2. 000
  3. 0
  4. 0
  5. */
  6.  
  7.     options results
  8.   parse ARG Port x1 y1 x2 y2 type b
  9.     ADDRESS value Port
  10.  
  11.  
  12.     pp_UpdateUndoBox x1-1 y1-1 x2+1 y2+1
  13.  
  14.     pp_AvoidRefresh
  15.     pp_ComposeReqOff
  16.     pp_Compose 0 100 0
  17.     pp_EffectOn
  18.     pp_Progresstext 'Fresco'
  19.     tot=7
  20.  
  21.     ii=0
  22.     DO i=1 to 2
  23.         ii=ii+1;pp_Progress ii tot
  24.         pp_Displace 2
  25.         pp_BoxF x1 y1 x2 y2
  26.  
  27.         ii=ii+1;pp_Progress ii tot
  28.         pp_ConvInit 1 159 0
  29.         pp_Conv 0 2 4 5 4 2
  30.         pp_Conv 1 4 9 12 9 4
  31.         pp_Conv 2 5 12 15 12 5
  32.         pp_Conv 3 4 9 12 9 4
  33.         pp_Conv 4 2 4 5 4 2
  34.         pp_BoxF x1 y1 x2 y2
  35.     END
  36.  
  37.         pp_Progress 5 tot
  38.         pp_Displace 2
  39.         pp_BoxF x1 y1 x2 y2
  40.  
  41.         pp_Progress 6 tot
  42.         C=-2
  43.         pp_ConvInit 0 1 0
  44.         pp_Conv 0 0 0 0 0 0
  45.         pp_Conv 1 0 C 0 0 0
  46.         pp_Conv 2 0 0 5 0 0
  47.         pp_Conv 3 0 0 0 C 0
  48.         pp_Conv 4 0 0 0 0 0
  49.         pp_BoxF x1 y1 x2 y2
  50.  
  51.     pp_Progress 7 tot
  52.     pp_ComposeReqOn
  53.     pp_EffectOff
  54.     pp_PermitRefresh
  55.     pp_ProgressClr
  56.  
  57.     EXIT